package com.yuwen.yuwenRPC.fault.tolerant;

import com.yuwen.yuwenRPC.model.RpcResponse;

import java.util.Map;

/**
 * @ClassNameFailBackTolerantStrategy
 * @Description TODO
 * @Author钰玟
 * @Date2025/4/6 下午1:52
 * @Version 1.0
 **/

/**
 * 降级到其他服务-- 容错机制
 */
public class FailBackTolerantStrategy implements TolerantStrategy{
    @Override
    public RpcResponse doTolerant(Map<String, Object> context, Exception e) {
        //TODO
        return null;
    }
}
